package com.pi2e.view.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import butterknife.Bind;

import com.pi2e.R;
import com.pi2e.view.base.BaseActivity;
import com.pi2e.view.common.HeaderView;

public class ReceDetailActivity extends BaseActivity implements OnClickListener {
	Button btn_ok ;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		 setFinishOnTouchOutside(true);//点击空白消失
	}

	@Override
	public HeaderView initHeaderView() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setContentView() {
		setContentView(R.layout.activity_recedetail);

	}

	@Override
	public void initView() {
		// TODO Auto-generated method stub
		btn_ok = (Button) findViewById(R.id.btn_ok) ;
		btn_ok.setOnClickListener(this);
	}

	@Override
	public void initFootView() {
		// TODO Auto-generated method stub

	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		int vid = v.getId() ;
		switch (vid) {
		case R.id.btn_ok:
			Intent it = new Intent(ReceDetailActivity.this,StartReceCustomer.class) ;
			startActivity(it);
			
			break;

		default:
			break;
		}
	}

}
